Please do not use the %I64d (or similar) specificator to read or write 64-bit integers in С++. It is preferred to use cin, cout streams or the %lld specificator. Press button to submit the solution.
<button type="button" class="close">&times;</button>